var status = 0;
var typede = 0;

function start() {
    status = -1;
    action(1, 0, 0)
}

function action(d, c, b) {
    if (d == -1) {
        cm.dispose()
    } else {
        if (d == 0) {
            cm.dispose();
            return
        }
        if (d == 1) {
            status++
        }
        if (status == 0) {
            cm.dispose();
            cm.openNpc(9000193);
            
        }
    }
}